package com.mt.course.api.service;

import java.util.List;
import java.util.Map;

import com.mt.common.PagerInfo;
import com.mt.common.ServiceResult;
import com.mt.course.entity.CourseGoodsLearnTimeLogEntity;

public interface ICourseGoodsLearnTimeLogService {
    /**
     * 查询详情
     *
     * @param params
     * @return
     */
    ServiceResult<CourseGoodsLearnTimeLogEntity> findInfo(Map<String, Object> params);

    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    ServiceResult<List<CourseGoodsLearnTimeLogEntity>> findList(Map<String, Object> params, PagerInfo<?> pagerInfo);

    /**
     * 创建
     *
     * @param courseGoodsLearnTimeLogEntity
     * @return
     */
    ServiceResult<Integer> doInsert(CourseGoodsLearnTimeLogEntity courseGoodsLearnTimeLogEntity);

    /**
     * 编辑
     *
     * @param courseGoodsLearnTimeLogEntity
     * @return
     */
    ServiceResult<Integer> doUpdate(CourseGoodsLearnTimeLogEntity courseGoodsLearnTimeLogEntity);

    /**
     * 删除
     *
     * @param courseGoodsLearnTimeLogId
     * @return
     */
    ServiceResult<Integer> doDeleteById(Integer courseGoodsLearnTimeLogId);
}
